package com.zgjkhis.modules.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author yzq
 * @Description 订单退款
 * @Date 2021/7/26 10:30
 * @Param
 * @return
 **/
@Data
public class RefundInfoVO {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "处方号")
	@NotNull(message = "处方号不能为空")
	private String pstNo;
	@ApiModelProperty(value = "1：部分退款，2：全部退款, 中成药可选部分退款,中成药不填退款类型，默认全部退款")
	@NotNull(message = "退款类型不能为空")
	private Integer type;
	@ApiModelProperty(value = "退款详情")
	@NotNull(message = "退款详情不能为空")
	private List<RefundInfoDetailVO> pstItems;

}
